package com.hnxxxy.workshop.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 工厂
 * </p>
 *
 * @author zqh
 * @since 2022-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("factory")
public class FactoryDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 工厂id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 厂名
     */
    private String name;

    /**
     * 厂长
     */
    private String manager;


}
